<%-- 
    Document   : vaga.jsp
    Created on : 13/06/2013, 08:32:11
    Author     : VENANCIO
--%>

<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Cadastro de Vagas</title>
    </head>
    <body>
        <h2>Cadastro de vaga</h2>
        
        <form id="form1" method="post" action="servletVaga">
            <input type="hidden" id="empresa" name="empresa" value=""/>
            <p>Titulo:<input type="text" id="titulo" name="titulo" value=""/></p>
            <p>Área Profissional:
            <jsp:useBean id="area" class="bean.AreaProfissional" />
            <select name="profissoes">
                <c:forEach var="lista" items="${area.listaAreaProfissional}">
                    <option value="${lista.cod}">${lista.descricao}</option>
                </c:forEach>
            </select>
            </p>
            <p>Descricao:<input type="text" id="descricao" name="descicao" value="" width="100"/></p>
            <p>Local:<input type="text" id="local" name="local" value=""/></p>
            <p>Carga Horaria:<input type="text" id="carga_horaria" name="carga_horaria" value=""/></p>
            <p>Quantidade:<input type="text" id="quantidade" name="quantidade" value=""/></p>
            <p>Disponivel até:<input type="datetime" id="disponivel" name="disponivel" value=""/></p>
            <p>Requisitos:<input type="text" id="requisito" name="requisito" value=""/></p>
            <p>Bolsa:<input type="text" id="bolsa" name="bolsa" value=""/></p>
            <p>Benenficios:<input type="text" id="beneficio" name="beneficio" value=""/></p>
            
            <p><input type="submit" value="Inserir" />
        </form>
    </body>
</html>
